package com.leung.task;


import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author 丨一
 * @version 1.0
 * @title ApplicationTask
 * @description:
 * @date 2025/3/6 上午11:44
 */

@Slf4j
@Component
public class ApplicationTask {
    
    
    @Scheduled(cron = "0/5 * * * * ?")
    public void task() {
        log.info("hello world task");
    }
    
    
}
